SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO



CREATE PROCEDURE dbo.[DnnProduct_Journal_Delete]
@JournalId int
AS
DELETE FROM dbo.[DnnProduct_Journal_Security] WHERE JournalId = @JournalId
DELETE FROM dbo.[DnnProduct_Journal_Comments] WHERE JournalId = @JournalId
DELETE FROM dbo.[DnnProduct_Journal] WHERE JournalId = @JournalId

GO
